﻿using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SqliteDAL.Model
{
    public class BaseModel : ObservableObject
    {
        public long Id { get; set; }//主键
        public string Name { get; set; } = string.Empty;//名称
        public string UpdateTime { get; set; } = DateTime.Now.ToString("F");
        //是否可用    默认0  不可用     1：可用
        private bool isUse;
        public bool IsUse
        {
            get { return isUse; }
            set { SetProperty(ref isUse, value); }
        }
    }
}
